package stu.sup.entity;

import java.io.Serializable;

public class AddressInfo implements Serializable {
    private Integer addressInfoId;

    private Integer userLoginId;

    private String name;

    private Integer telephone;

    private String address;

    private static final long serialVersionUID = 1L;

    public Integer getAddressInfoId() {
        return addressInfoId;
    }

    public void setAddressInfoId(Integer addressInfoId) {
        this.addressInfoId = addressInfoId;
    }

    public Integer getUserLoginId() {
        return userLoginId;
    }

    public void setUserLoginId(Integer userLoginId) {
        this.userLoginId = userLoginId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getTelephone() {
        return telephone;
    }

    public void setTelephone(Integer telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", addressInfoId=").append(addressInfoId);
        sb.append(", userLoginId=").append(userLoginId);
        sb.append(", name=").append(name);
        sb.append(", telephone=").append(telephone);
        sb.append(", address=").append(address);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}